package com.xl.generator.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xl.generator.domain.CompetitionScheme;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xl.generator.dto.CompetitionSchemeDto;
import com.xl.generator.pojo.CompetitionDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Nannan
* @description 针对表【competition_scheme】的数据库操作Mapper
* @createDate 2022-11-13 16:21:20
* @Entity com.xl.generator.domain.CompetitionScheme
*/
public interface CompetitionSchemeMapper extends BaseMapper<CompetitionScheme> {
	List<CompetitionDetail> listAll(IPage iPage);

	List<CompetitionSchemeDto> listByType(IPage iPage , @Param("competitionId") Integer competitionId);
}




